package com.hanserwei.community.entity.request.meter;

import com.hanserwei.community.entity.common.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "抄表记录查询请求")
public class MeterRecordQueryRequest extends PageRequest {

    @Schema(description = "记录ID")
    private Integer id;

    @Schema(description = "表计类型ID")
    private Integer typeId;

    @Schema(description = "房屋ID")
    private Integer houseId;

    @Schema(description = "房屋业主ID")
    private Integer ownerId;

    @Schema(description = "表计编号(模糊匹配)")
    private String meter;

    @Schema(description = "本次抄表时间下限")
    private LocalDateTime currentTimeFrom;

    @Schema(description = "本次抄表时间上限")
    private LocalDateTime currentTimeTo;
}
